package sax.representation;

/**
 * Pair convenience class
 * @author Krzysztof Figaj
 *
 * @param <T> - first pair element type
 * @param <V> - second pair element type
 */
public class Pair<T, V>{

	T firstElement;
	V secondElement;
	
	public Pair() {
		firstElement = null;
		secondElement = null;
	}
	
	public Pair(T first, V second) {
		firstElement = first;
		secondElement = second;
	}

	public T getFirstElement() {
		return firstElement;
	}

	public void setFirstElement(T firstElement) {
		this.firstElement = firstElement;
	}

	public V getSecondElement() {
		return secondElement;
	}

	public void setSecondElement(V secondElement) {
		this.secondElement = secondElement;
	}
	
}
